package com.home766.entity;

import net.biz.entity.OrderEntity;

import javax.persistence.*;

/***
 * 案例实体
 * @author zeng
 *
 */
@Entity
@Table(name = "766_case")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "766_case_sqe")
public class Cases extends OrderEntity {
	
	/**编号*/
	private String sn;
	/**主题*/
	private String theme;
	/**案列主图*/
	private String addresssImg;
	/**用户名称*/
	private String name;
	/**性别*/
	private Boolean sex;
	/**城市*/
	private String city;
	/**小区名称*/
	private String residentialQuarters;
	/**是否发布0,未发布，1已发布*/
	private Boolean isRelease;
	/**是否竣工0，未竣工，1竣工*/
	private Boolean isCompleted;
	/**商品分类*/
	private Integer productCategory;
	/**商品分类名称*/
	private String productCategoryName;
	/**户型*/
	private String houseType;
	/**方案配置（文本框）*/
	private String schemeConfiguration;
	/**用户基本信息*/
	private String userInfo;
	/**设计说明(图文)*/
	private String designNotes;
	/**现场展示(图文)*/
	private String sceneDisplay;
	/**用户反馈*/
	private String feedBack;
	
	@Column(name ="name")
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Column(name ="city")
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	@Column(name ="residential_quarters")
	public String getResidentialQuarters() {
		return residentialQuarters;
	}
	public void setResidentialQuarters(String residentialQuarters) {
		this.residentialQuarters = residentialQuarters;
	}
	@Column(name ="is_release")
	public Boolean getIsRelease() {
		return isRelease;
	}
	public void setIsRelease(Boolean isRelease) {
		this.isRelease = isRelease;
	}
	@Column(name ="is_completed")
	public Boolean getIsCompleted() {
		return isCompleted;
	}
	public void setIsCompleted(Boolean isCompleted) {
		this.isCompleted = isCompleted;
	}
	@Column(name ="product_category_id")
	public Integer getProductCategory() {
		return productCategory;
	}
	public void setProductCategory(Integer productCategory) {
		this.productCategory = productCategory;
	}
	@Column(name ="house_type")
	public String getHouseType() {
		return houseType;
	}
	public void setHouseType(String houseType) {
		this.houseType = houseType;
	}
	@Column(name ="scheme_configuration")
	public String getSchemeConfiguration() {
		return schemeConfiguration;
	}
	public void setSchemeConfiguration(String schemeConfiguration) {
		this.schemeConfiguration = schemeConfiguration;
	}
	@Column(name ="user_info")
	public String getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(String userInfo) {
		this.userInfo = userInfo;
	}
	@Column(name ="design_notes")
	public String getDesignNotes() {
		return designNotes;
	}
	public void setDesignNotes(String designNotes) {
		this.designNotes = designNotes;
	}
	@Column(name ="scene_display")
	public String getSceneDisplay() {
		return sceneDisplay;
	}
	public void setSceneDisplay(String sceneDisplay) {
		this.sceneDisplay = sceneDisplay;
	}
	@Column(name ="feed_back")
	public String getFeedBack() {
		return feedBack;
	}
	public void setFeedBack(String feedBack) {
		this.feedBack = feedBack;
	}
	@Column(name ="theme")
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	@Column(name ="addressImg")
	public String getAddresssImg() {
		return addresssImg;
	}
	public void setAddresssImg(String addresssImg) {
		this.addresssImg = addresssImg;
	}
	@Column(name ="sn")
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	@Column(name ="sex")
	public Boolean getSex() {
		return sex;
	}
	public void setSex(Boolean sex) {
		this.sex = sex;
	}
	@Transient
	public String getProductCategoryName() {
		return productCategoryName;
	}
	public void setProductCategoryName(String productCategoryName) {
		this.productCategoryName = productCategoryName;
	}
	
}
